package com.jumi.microservice.domain;

import com.jumi.microservice.domain.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;


/**
 * 商品详情
 *
 * @author Administrator
 */
public class GoodsDetailDTO extends BaseEntity {

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品类型1：单个商品；2：第三方商品;3:商品组合")
    private Integer goodsType;

    @ApiModelProperty(value = "商品描述")
    private String goodsDescription;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "市场价")
    private BigDecimal goodsMarketprice;

    @ApiModelProperty(value = "商品详情的内容")
    private String goodsBody;

    @ApiModelProperty(value = "商品图片")
    private List<GoodsPictureDetailDTO> goodsImage = new ArrayList<>();

    @ApiModelProperty(value = "商品标签")
    private List<String> label = new ArrayList<>();

    @ApiModelProperty(value = "素材")
    private SourceMaterialDetailDTO sourceMaterial;

    @ApiModelProperty(value = "总素材数量")
    private Integer surceMaterialCount;

    @ApiModelProperty(value = "sku集合")
    private List<SkuDetailDTO> goodsSkus = new ArrayList<>();

    @ApiModelProperty(value = "库存")
    private Integer saleStockQuantity = 0;

    @ApiModelProperty(value = "已售库存")
    private Integer saledStockQuantity = 0;

    @ApiModelProperty(value = "商品状态 1：立即上架；2：下架状态;3:定时上架")
    private Integer goodsState;

    @ApiModelProperty(value = "是否是海外")
    private Integer isImport;

    @ApiModelProperty(value = "视频地址")
    private String videoUrl;

/*    @ApiModelProperty(value = "sku id集合")
    List<Long> goodsSkuIds = new ArrayList<>();*/

    @ApiModelProperty(value = "spu虚拟销量")
    private Integer virtualNum = 0;

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDescription() {
        return goodsDescription;
    }

    public void setGoodsDescription(String goodsDescription) {
        this.goodsDescription = goodsDescription;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsMarketprice() {
        return goodsMarketprice;
    }

    public void setGoodsMarketprice(BigDecimal goodsMarketprice) {
        this.goodsMarketprice = goodsMarketprice;
    }

    public String getGoodsBody() {
        return goodsBody;
    }

    public void setGoodsBody(String goodsBody) {
        this.goodsBody = goodsBody;
    }

    public List<GoodsPictureDetailDTO> getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(List<GoodsPictureDetailDTO> goodsImage) {
        this.goodsImage = goodsImage;
    }

    public List<String> getLabel() {
        return label;
    }

    public void setLabel(List<String> label) {
        this.label = label;
    }

    public SourceMaterialDetailDTO getSourceMaterial() {
        return sourceMaterial;
    }

    public void setSourceMaterial(SourceMaterialDetailDTO sourceMaterial) {
        this.sourceMaterial = sourceMaterial;
    }

    public List<SkuDetailDTO> getGoodsSkus() {
        return goodsSkus;
    }

    public void setGoodsSkus(List<SkuDetailDTO> goodsSkus) {
        this.goodsSkus = goodsSkus;
    }

    public Integer getSaleStockQuantity() {
        return saleStockQuantity;
    }

    public void setSaleStockQuantity(Integer saleStockQuantity) {
        this.saleStockQuantity = saleStockQuantity;
    }

    public Integer getSaledStockQuantity() {
        return saledStockQuantity;
    }

    public void setSaledStockQuantity(Integer saledStockQuantity) {
        this.saledStockQuantity = saledStockQuantity;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public Integer getSurceMaterialCount() {
        return surceMaterialCount;
    }

    public void setSurceMaterialCount(Integer surceMaterialCount) {
        this.surceMaterialCount = surceMaterialCount;
    }

    public Integer getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(Integer goodsState) {
        this.goodsState = goodsState;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getIsImport() {
        return isImport;
    }

    public void setIsImport(Integer isImport) {
        this.isImport = isImport;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }
/*
    public List<Long> getGoodsSkuIds() {
        return goodsSkuIds;
    }

    public void setGoodsSkuIds(List<Long> goodsSkuIds) {
        this.goodsSkuIds = goodsSkuIds;
    }*/

    public Integer getVirtualNum() {
        return virtualNum;
    }

    public void setVirtualNum(Integer virtualNum) {
        this.virtualNum = virtualNum;
    }
}
